home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.3 KB | 66 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="2"
- "UIPATH"="Internet\Instant Messaging\ICQ"
- "NAME"="General Settings"
- "VERSION"="1.12"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Allow automatic program updates"
- "TEXT 2"="Show first time welcome screen"
- "DESCRIPTION 1"="Some options for ICQ."
- "DESCRIPTION 2"="ICQ may be obtained at http://www.icq.com/."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
-
-
- sP="HKCU\Software\Mirabilis\ICQ\DefaultPrefs\"
- sV1="Auto Update" 'STR yes/no
- sV2="NoFirstScreen" 'STR yes/no
- Sub Plugin_Initialize
- if RegPathExists(sP) then
- i=RegReadValue(sP & sV1)
- if i="Yes" then SetUiElement 1,true
-
- i=RegReadValue(sP & sV2)
- if i<>"Yes" then SetUiElement 2,true
- else
- Call Disable()
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- i="Yes"
- else
- i="No"
- end if
- Call RegWriteValue(sP & sV1,i,1)
-
- b=GetUIElement(2)
- if b=true then
- i="No"
- else
- i="Yes"
- end if
- Call RegWriteValue(sP & sV2,i,1)
-
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-